namespace PickGold.Charting
{
    using System;
    using System.Security.Permissions;
    using System.Web;

    [SRDescription("DescriptionAttributeLegendCellColumnCollection_LegendCellColumnCollection"), AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
    public class LegendCellColumnCollection : ChartNamedElementCollection<LegendCellColumn>
    {
        internal LegendCellColumnCollection(Legend legend) : base(legend)
        {
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                foreach (LegendCellColumn column in this)
                {
                    column.Dispose();
                }
                this.ClearItems();
            }
            base.Dispose(disposing);
        }
    }
}

